Tag Link | [String->RemoveTrailing] | Category | String |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 5.0 |
Change | Unchanged | Data Source | Any |
Output Type | None (Modifies in place) | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0 |
[String->RemoveTrailing] removes all instances of the parameter from the end of the string. Modifies the string and returns no value. Requires a single string parameter. The pattern is not case sensitive.
[String Variable->(RemoveTrailing: 'String Pattern')]
Required Parameters | |
---|---|
String Pattern | The character which should be removed from the end of the string. |
To remove extra carriage returns from the end of a string:
Use the [String->RemoveTrailing] tag. The following example removes extra carriage returns from a variable Description that is set to the value of a field by the same name.
[Var: 'Description'=(Field: 'Description')]
[(Var:'Desription')->(RemoveTrailing: '
')]